<html>
<head><meta charset="utf-8"><title>disable run tests · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20run.20tests.html">disable run tests</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="235922056"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disable%20run%20tests/near/235922056" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tmandry <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20run.20tests.html#235922056">(Apr 23 2021 at 23:13)</a>:</h4>
<p>is there any way to disable run-* tests in x.py?</p>



<a name="235922083"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disable%20run%20tests/near/235922083" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tmandry <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20run.20tests.html#235922083">(Apr 23 2021 at 23:13)</a>:</h4>
<p>there's <code>--pass check</code>, but that only works for run-pass, not run-fail apparently</p>



<a name="235922222"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disable%20run%20tests/near/235922222" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20run.20tests.html#235922222">(Apr 23 2021 at 23:15)</a>:</h4>
<p>there's --exclude but I don't know if it works specifically for // pass, I think it's only for directories</p>



<a name="235922476"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disable%20run%20tests/near/235922476" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tmandry <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20run.20tests.html#235922476">(Apr 23 2021 at 23:19)</a>:</h4>
<p>yeah :/</p>



<a name="235922499"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disable%20run%20tests/near/235922499" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tmandry <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20run.20tests.html#235922499">(Apr 23 2021 at 23:19)</a>:</h4>
<p>this feels like the type of problem that <code>--pass</code> is meant to solve, I'm wondering if this is just an oversight</p>



<a name="235922570"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disable%20run%20tests/near/235922570" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tmandry <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20run.20tests.html#235922570">(Apr 23 2021 at 23:20)</a>:</h4>
<p>though it does specifically say <code>force {check,build,run}-pass tests to this mode.</code></p>



<a name="235922751"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disable%20run%20tests/near/235922751" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20run.20tests.html#235922751">(Apr 23 2021 at 23:22)</a>:</h4>
<p>I think it's not exposed, but I feel like we had some support for it - since we sometimes run tests on targets we can't actually run anything on</p>



<a name="235922760"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disable%20run%20tests/near/235922760" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20run.20tests.html#235922760">(Apr 23 2021 at 23:23)</a>:</h4>
<p>I could be remembering wrong though</p>



<a name="235923760"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disable%20run%20tests/near/235923760" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tmandry <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20run.20tests.html#235923760">(Apr 23 2021 at 23:36)</a>:</h4>
<p><span class="user-mention" data-user-id="116122">@simulacrum</span> can you think of one of those targets off the top of your head?</p>



<a name="235923765"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disable%20run%20tests/near/235923765" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tmandry <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20run.20tests.html#235923765">(Apr 23 2021 at 23:36)</a>:</h4>
<p>I can dig into the ci scripts</p>



<a name="235923767"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disable%20run%20tests/near/235923767" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20run.20tests.html#235923767">(Apr 23 2021 at 23:37)</a>:</h4>
<p>Hm, I don't think so</p>



<a name="235923780"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disable%20run%20tests/near/235923780" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20run.20tests.html#235923780">(Apr 23 2021 at 23:37)</a>:</h4>
<p>The support would be in compile test</p>



<a name="235923795"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disable%20run%20tests/near/235923795" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20run.20tests.html#235923795">(Apr 23 2021 at 23:37)</a>:</h4>
<p>I'd look at the runner support</p>



<a name="235923803"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disable%20run%20tests/near/235923803" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tmandry <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20run.20tests.html#235923803">(Apr 23 2021 at 23:37)</a>:</h4>
<p>okay will do, thanks</p>



<a name="235923805"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disable%20run%20tests/near/235923805" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tmandry <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20run.20tests.html#235923805">(Apr 23 2021 at 23:37)</a>:</h4>
<p>the other question is whether it would be bad to change <code>--pass</code> to do this</p>



<a name="235923854"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disable%20run%20tests/near/235923854" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tmandry <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20run.20tests.html#235923854">(Apr 23 2021 at 23:38)</a>:</h4>
<p>like is there a reason it doesn't</p>



<a name="235923858"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disable%20run%20tests/near/235923858" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20run.20tests.html#235923858">(Apr 23 2021 at 23:38)</a>:</h4>
<p>Hm, I think it doesn't quite make sense</p>



<a name="235923871"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disable%20run%20tests/near/235923871" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20run.20tests.html#235923871">(Apr 23 2021 at 23:38)</a>:</h4>
<p>We should already check that run-fail is build-pass</p>



<a name="235923876"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disable%20run%20tests/near/235923876" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20run.20tests.html#235923876">(Apr 23 2021 at 23:38)</a>:</h4>
<p>(implicitly)</p>



<a name="235923904"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disable%20run%20tests/near/235923904" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20run.20tests.html#235923904">(Apr 23 2021 at 23:39)</a>:</h4>
<p>But unlike pass, upgrading up or down is less intuitive</p>



<a name="235923923"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disable%20run%20tests/near/235923923" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20run.20tests.html#235923923">(Apr 23 2021 at 23:39)</a>:</h4>
<p>(and even with pass I still don't quite understand)</p>



<a name="235924033"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disable%20run%20tests/near/235924033" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tmandry <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20run.20tests.html#235924033">(Apr 23 2021 at 23:40)</a>:</h4>
<p>I don't get the use case for it, other than "you can't/don't want to actually link or run binaries"</p>



<a name="235924057"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disable%20run%20tests/near/235924057" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20run.20tests.html#235924057">(Apr 23 2021 at 23:41)</a>:</h4>
<p>For --pass ?</p>



<a name="235924138"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disable%20run%20tests/near/235924138" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20run.20tests.html#235924138">(Apr 23 2021 at 23:42)</a>:</h4>
<p>The idea was to speed up ui tests, I believe</p>



<a name="235924188"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disable%20run%20tests/near/235924188" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tmandry <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20run.20tests.html#235924188">(Apr 23 2021 at 23:43)</a>:</h4>
<p>some ui tests are run-fail now</p>



<a name="235924196"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disable%20run%20tests/near/235924196" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tmandry <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20run.20tests.html#235924196">(Apr 23 2021 at 23:43)</a>:</h4>
<p>hence why I'm here asking this :)</p>



<a name="235924205"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disable%20run%20tests/near/235924205" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20run.20tests.html#235924205">(Apr 23 2021 at 23:43)</a>:</h4>
<p>Right, those shouldn't be affected by --pass I think?</p>



<a name="235924219"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disable%20run%20tests/near/235924219" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20run.20tests.html#235924219">(Apr 23 2021 at 23:43)</a>:</h4>
<p>I'm not sure I understand yet</p>



<a name="235924266"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disable%20run%20tests/near/235924266" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20run.20tests.html#235924266">(Apr 23 2021 at 23:44)</a>:</h4>
<p>That is why you want to do this</p>



<a name="235924340"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disable%20run%20tests/near/235924340" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tmandry <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20run.20tests.html#235924340">(Apr 23 2021 at 23:45)</a>:</h4>
<p>oh, literally the exact reason you were talking about above. I want to run tests for a platform that I can't run on</p>



<a name="235924365"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disable%20run%20tests/near/235924365" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tmandry <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20run.20tests.html#235924365">(Apr 23 2021 at 23:45)</a>:</h4>
<p>I just prefer to do it with a documented mechanism than an undocumented one, is all</p>



<a name="235924425"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disable%20run%20tests/near/235924425" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tmandry <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20run.20tests.html#235924425">(Apr 23 2021 at 23:46)</a>:</h4>
<p>but, assuming the undocumented one exists, I can use that</p>



<a name="235924437"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disable%20run%20tests/near/235924437" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20run.20tests.html#235924437">(Apr 23 2021 at 23:46)</a>:</h4>
<p>I think that wouldn't want --pass</p>



<a name="235924499"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disable%20run%20tests/near/235924499" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20run.20tests.html#235924499">(Apr 23 2021 at 23:47)</a>:</h4>
<p>I think you can probably hack it with the cross-runner support, but I would just add a check for the target to treat run tests as passed if they're good up to that point (so compiling successfully)</p>



<a name="235924564"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disable%20run%20tests/near/235924564" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20run.20tests.html#235924564">(Apr 23 2021 at 23:48)</a>:</h4>
<p>Would a pointer to that spot be helpful?</p>



<a name="235924635"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disable%20run%20tests/near/235924635" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20run.20tests.html#235924635">(Apr 23 2021 at 23:49)</a>:</h4>
<p><a href="https://github.com/rust-lang/rust/blob/master/src/tools/compiletest/src/runtest.rs#L362">https://github.com/rust-lang/rust/blob/master/src/tools/compiletest/src/runtest.rs#L362</a></p>



<a name="235924644"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disable%20run%20tests/near/235924644" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20run.20tests.html#235924644">(Apr 23 2021 at 23:50)</a>:</h4>
<p>I think something like self.config should have the target</p>



<a name="235924746"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disable%20run%20tests/near/235924746" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tmandry <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20run.20tests.html#235924746">(Apr 23 2021 at 23:51)</a>:</h4>
<p>ah, nice, that would work</p>



<a name="235924769"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disable%20run%20tests/near/235924769" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tmandry <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20run.20tests.html#235924769">(Apr 23 2021 at 23:51)</a>:</h4>
<p>though I do still feel like this should have a generic mechanism rather than hardcoding something for a target</p>



<a name="235924825"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disable%20run%20tests/near/235924825" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tmandry <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20run.20tests.html#235924825">(Apr 23 2021 at 23:52)</a>:</h4>
<p>I'd like to run tests eventually, and experiment with enabling that in our CI without changing bootstrap</p>



<a name="235924833"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disable%20run%20tests/near/235924833" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tmandry <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20run.20tests.html#235924833">(Apr 23 2021 at 23:52)</a>:</h4>
<p>but that's a ways away</p>



<a name="235924841"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disable%20run%20tests/near/235924841" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20run.20tests.html#235924841">(Apr 23 2021 at 23:52)</a>:</h4>
<p>Hm I see your point</p>



<a name="235924867"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disable%20run%20tests/near/235924867" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20run.20tests.html#235924867">(Apr 23 2021 at 23:52)</a>:</h4>
<p>I think it'd be fine to expose a --no-run or --compile-only flag</p>



<a name="235924980"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disable%20run%20tests/near/235924980" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tmandry <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20run.20tests.html#235924980">(Apr 23 2021 at 23:54)</a>:</h4>
<p>alright, I think I can do that</p>



<a name="235925011"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disable%20run%20tests/near/235925011" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tmandry <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20run.20tests.html#235925011">(Apr 23 2021 at 23:55)</a>:</h4>
<p>thanks for pointing me to the right code :)</p>



<a name="235925053"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disable%20run%20tests/near/235925053" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20run.20tests.html#235925053">(Apr 23 2021 at 23:56)</a>:</h4>
<p>But if we want to support things by default, it seems quite reasonable to have a --run=never|when-needed or something, with the target used to differential</p>



<a name="235925077"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disable%20run%20tests/near/235925077" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20run.20tests.html#235925077">(Apr 23 2021 at 23:56)</a>:</h4>
<p>Er, choose a default</p>



<a name="235925090"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disable%20run%20tests/near/235925090" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20run.20tests.html#235925090">(Apr 23 2021 at 23:56)</a>:</h4>
<p><span class="user-mention" data-user-id="116883">@tmandry</span> ^</p>



<a name="235925123"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disable%20run%20tests/near/235925123" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tmandry <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20run.20tests.html#235925123">(Apr 23 2021 at 23:57)</a>:</h4>
<p>yeah</p>



<a name="235925126"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disable%20run%20tests/near/235925126" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tmandry <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20run.20tests.html#235925126">(Apr 23 2021 at 23:57)</a>:</h4>
<p>that makes sense</p>



<a name="235925154"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disable%20run%20tests/near/235925154" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tmandry <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20run.20tests.html#235925154">(Apr 23 2021 at 23:57)</a>:</h4>
<p>though I don't know understand when-needed would do in this case</p>



<a name="235925235"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disable%20run%20tests/near/235925235" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20run.20tests.html#235925235">(Apr 23 2021 at 23:58)</a>:</h4>
<p>Oh, override to "ignore target specific config" not sure it's the best name</p>



<a name="235931051"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disable%20run%20tests/near/235931051" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tmandry <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20run.20tests.html#235931051">(Apr 24 2021 at 01:35)</a>:</h4>
<p>opened <a href="https://github.com/rust-lang/rust/issues/84500">#84500</a></p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>